using System.Collections;
using Rdl;

namespace GTame.ReportParser
{

    public class CategoryAxisType
    {

        private AxisType _Axis;

        public AxisType Axis
        {
            get
            {
                if (_Axis == null)
                    _Axis = new AxisType();
                return _Axis;
            }
            set
            {
                _Axis = value;
            }
        }

        public CategoryAxisType()
        {
        }

        public CategoryAxisType Write()
        {
            CategoryAxisType categoryAxisType = new CategoryAxisType();
            ArrayList arrayList = new ArrayList();
            if (_Axis != null)
                arrayList.Add(_Axis.Write());
            categoryAxisType.Items = arrayList.ToArray();
            arrayList = null;
            return categoryAxisType;
        }

    } // class CategoryAxisType

}

